package org.micode.demo.web.base;

import org.micode.common.domain.base.IUserCache;
import org.micode.libs.dao.helper.BeanHelper;
import org.micode.libs.servlet.base.BaseWebController;
import org.micode.demo.db.cache.user.SysUserCache;

public class BaseWebAdminController extends BaseWebController {

    @Override
    protected <K> void copyLoginUserFields(IUserCache user, K example) {
        // 什么都不做
    }

    @Override
    protected <K> void fillUpdFields(K dest, Long userId, String loginApp, String loginIp) {
        BeanHelper.fillUpdFields(dest, userId, loginApp, loginIp);
    }

}
